home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / Cassia.swf / scripts / frame_3 / DoAction.as
Encoding:
Text File  |  2011-10-17  |  7.6 KB  |  254 lines

  1. function ┬º\x04\x05┬º()
  2. {
  3.    set("\x03",1756 % 511 * 5);
  4.    return eval("\x03");
  5. }
  6. var ┬º\x01┬º = -772 + "\x04\x05"();
  7. while(true)
  8. {
  9.    if(eval("\x01") == 343)
  10.    {
  11.       set("\x01",eval("\x01") - 112);
  12.       ┬º┬ºpush(true);
  13.    }
  14.    else if(eval("\x01") == 487)
  15.    {
  16.       set("\x01",eval("\x01") - 332);
  17.       if(function ┬º\x04\x05┬º()
  18.       {
  19.          set("\x03",1756 % 511 * 5);
  20.          return eval("\x03");
  21.       })
  22.       {
  23.          set("\x01",eval("\x01") + 761);
  24.       }
  25.    }
  26.    else if(eval("\x01") == 553)
  27.    {
  28.       set("\x01",eval("\x01") + 228);
  29.    }
  30.    else if(eval("\x01") == 459)
  31.    {
  32.       set("\x01",eval("\x01") + 28);
  33.       ┬º┬ºpush(!function ┬º\x04\x05┬º()
  34.       {
  35.          set("\x03",1756 % 511 * 5);
  36.          return eval("\x03");
  37.       });
  38.    }
  39.    else if(eval("\x01") == 155)
  40.    {
  41.       set("\x01",eval("\x01") + 761);
  42.    }
  43.    else if(eval("\x01") == 527)
  44.    {
  45.       set("\x01",eval("\x01") - 68);
  46.       ┬º┬ºpush(eval(function ┬º\x04\x05┬º()
  47.       {
  48.          set("\x03",1756 % 511 * 5);
  49.          return eval("\x03");
  50.       }));
  51.    }
  52.    else if(eval("\x01") == 781)
  53.    {
  54.       set("\x01",eval("\x01") + 77);
  55.       ┬º┬ºpush("\x0f");
  56.       ┬º┬ºpush(1);
  57.    }
  58.    else
  59.    {
  60.       if(eval("\x01") == 663)
  61.       {
  62.          set("\x01",eval("\x01") + 180);
  63.          break;
  64.       }
  65.       if(eval("\x01") == 916)
  66.       {
  67.          set("\x01",eval("\x01") + 3);
  68.          stop();
  69.          _root.nowmap = 1;
  70.          var color = 16777215;
  71.          var alpha = 100;
  72.          var blurX = 15;
  73.          var blurY = 15;
  74.          var strength = 5;
  75.          var quality = 3;
  76.          var inner = false;
  77.          var knockout = false;
  78.          var filter = new flash.filters.GlowFilter(color,alpha,blurX,blurY,strength,quality,inner,knockout);
  79.          var filterArray = new Array();
  80.          filterArray.push(filter);
  81.          var xbtnfilter = new flash.filters.GlowFilter(color,85,5,5,strength,quality,inner,knockout);
  82.          var btnfilter = new Array();
  83.          btnfilter.push(xbtnfilter);
  84.          var filterclear = new Array();
  85.          _root.nowwp = 6;
  86.          _root.nowp = new Array(12,0,0,0,8,0,0,0,0,0,0,0,0);
  87.          MovieClip.prototype.listp = function()
  88.          {
  89.             h = 1;
  90.             while(h <= _root.nowp[0])
  91.             {
  92.                if(_root.nowp[h] != 0)
  93.                {
  94.                   this["p" + h].gotoAndStop(_root.nowp[h]);
  95.                }
  96.                else
  97.                {
  98.                   this["p" + h].gotoAndStop(this["p" + h]._totalframes);
  99.                }
  100.                if(h == 7)
  101.                {
  102.                   if(_root.nowp[h] != 0)
  103.                   {
  104.                      this["p" + h + "n"].gotoAndStop(_root.nowp[h]);
  105.                   }
  106.                   else
  107.                   {
  108.                      this["p" + h + "n"].gotoAndStop(this["p" + h + "n"]._totalframes);
  109.                   }
  110.                }
  111.                h++;
  112.             }
  113.             if(_root.nowp[4] >= 5 && _root.nowp[4] <= 7)
  114.             {
  115.                if(this.p4.getDepth() > this.tf.getDepth())
  116.                {
  117.                   this.p4.swapDepths(this.tf);
  118.                }
  119.             }
  120.             else if(this.p4.getDepth() < this.tf.getDepth())
  121.             {
  122.                this.p4.swapDepths(this.tf);
  123.             }
  124.          };
  125.          MovieClip.prototype.listw = function()
  126.          {
  127.             h = 1;
  128.             while(h <= _root.nowp[0])
  129.             {
  130.                maxframe = this["p" + h + "c1"]._totalframes;
  131.                if(maxframe != undefined)
  132.                {
  133.                   g = 1;
  134.                   while(g <= maxframe)
  135.                   {
  136.                      this["p" + h + "c" + g].gotoAndStop(g);
  137.                      if(_root.nowp[h] != g)
  138.                      {
  139.                         this["p" + h + "c" + g].gotoAndStop(g);
  140.                      }
  141.                      else
  142.                      {
  143.                         this["p" + h + "c" + g].gotoAndStop(maxframe);
  144.                      }
  145.                      this["p" + h + "c" + g].n = h;
  146.                      this["p" + h + "c" + g].m = g;
  147.                      this["p" + h + "c" + g].x = this["p" + h + "c" + g]._x;
  148.                      this["p" + h + "c" + g].y = this["p" + h + "c" + g]._y;
  149.                      this["p" + h + "c" + g].cale = this["p" + h + "c" + g]._xscale;
  150.                      this["p" + h + "c" + g].depth = this["p" + h + "c" + g].getDepth();
  151.                      this["p" + h + "c" + g].onDragOver = this["p" + h + "c" + g].onRollOver = function()
  152.                      {
  153.                         this.swapDepths(this._parent.getNextHighestDepth());
  154.                         this.filters = _root.filterArray;
  155.                      };
  156.                      this["p" + h + "c" + g].onDragOut = this["p" + h + "c" + g].onRollOut = function()
  157.                      {
  158.                         this._xscale = this._yscale = this.cale;
  159.                         this.swapDepths(this.depth);
  160.                         this.filters = _root.filterclear;
  161.                      };
  162.                      this["p" + h + "c" + g].onPress = function()
  163.                      {
  164.                         this._xscale = this._yscale = this.cale;
  165.                         this.swapDepths(this.depth);
  166.                         _root.nowp[this.n] = this.m;
  167.                         if(this.n == 8)
  168.                         {
  169.                            _root.nowp[9] = 0;
  170.                            _root.nowp[10] = 0;
  171.                         }
  172.                         if(this.n == 9)
  173.                         {
  174.                            _root.nowp[8] = 0;
  175.                         }
  176.                         if(this.n == 10)
  177.                         {
  178.                            _root.nowp[8] = 0;
  179.                         }
  180.                         _root.people_mc.listp();
  181.                         _root.wu_mc.listw();
  182.                      };
  183.                      g++;
  184.                   }
  185.                }
  186.                h++;
  187.             }
  188.          };
  189.          i = 1;
  190.          while(i <= 5)
  191.          {
  192.             _root["b" + i].n = i;
  193.             _root["b" + i].onPress = function()
  194.             {
  195.                _root.nowwp = this.n;
  196.                _root.wu_mc.gotoAndStop(_root.nowwp);
  197.                _root.wu_mc.listw();
  198.             };
  199.             i++;
  200.          }
  201.          _root.show_btn.onPress = function()
  202.          {
  203.             _root.gotoAndStop("show");
  204.          };
  205.          _root.people_mc.listp();
  206.          _root.wu_mc.gotoAndStop(_root.nowwp);
  207.          _root.wu_mc.listw();
  208.          break;
  209.       }
  210.       if(eval("\x01") == 768)
  211.       {
  212.          set("\x01",eval("\x01") - 241);
  213.          ┬º┬ºpush("\x0f");
  214.       }
  215.       else
  216.       {
  217.          if(eval("\x01") == 919)
  218.          {
  219.             set("\x01",eval("\x01") - 919);
  220.             break;
  221.          }
  222.          if(eval("\x01") == 843)
  223.          {
  224.             set("\x01",eval("\x01") - 62);
  225.          }
  226.          else if(eval("\x01") == 858)
  227.          {
  228.             set("\x01",eval("\x01") - 90);
  229.             var ┬º┬ºpop() = function ┬º\x04\x05┬º()
  230.             {
  231.                set("\x03",1756 % 511 * 5);
  232.                return eval("\x03");
  233.             };
  234.          }
  235.          else
  236.          {
  237.             if(eval("\x01") != 231)
  238.             {
  239.                break;
  240.             }
  241.             set("\x01",eval("\x01") + 432);
  242.             if(function ┬º\x04\x05┬º()
  243.             {
  244.                set("\x03",1756 % 511 * 5);
  245.                return eval("\x03");
  246.             })
  247.             {
  248.                set("\x01",eval("\x01") + 180);
  249.             }
  250.          }
  251.       }
  252.    }
  253. }
  254.